<template>
  <div>
      <div>
          <h2 style="color:red">404错误，找不到资源</h2>
           <el-link @click="black" type="info">返回</el-link>
      </div>
  </div>
</template>
<style lang="scss" scoped>
  .el-link{
    font-size: 16px;
    margin-left: 10px;
  }
</style>

<script>
export default {
  methods: {
    black () {
      this.$router.back()
      setTimeout(() => {
        this.$router.go(0)
      }, 300)
    }
  }
}
</script>

<style>

</style>
